package com.cx.api.service;

import org.springframework.stereotype.Service;

@Service("testService")
public class TestServiceImpl implements TestService {


    @Override
    public String test() {
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
        return "";
    }

    @Override
    public String test1() {
        try {
            Thread.sleep(5000);
        } catch (InterruptedException e) {
            throw new RuntimeException(e);
        }
        return "";
    }
}
